package com.i2works.smartluolong.manage.entity.admin;


import com.alibaba.fastjson.annotation.JSONField;
import com.i2works.smartluolong.utils.entity.BaseCommDO;

import java.util.Date;

/**
 * 用户前台实体类
 *
 * @author koal <koal@vip.qq.com>
 * @ClassName: AdminUserSafeDO
 * 安全DO
 * @date 2015年11月1日 下午3:32:09
 */

public class AdminUserVO extends BaseCommDO {

    private Integer id; //
    private String userName; // 账号
    private String nickName; // 昵称
    private Integer isSystem; // 系统标示：1系统管理员，0普通管理员
    private Integer sort; // 排序
    private Integer status; // 状态：1正常，0禁用
    private String loginIp; // 最后登录IP
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date loginTime; // 登陆时间
    private String ukey;//ukey编号

    //附加字段
    private Integer roleId; //角色id
    private String roleName; //角色名称
    private Integer orgId; //组织ID
    private String orgName; //组织名称

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getUkey() {
        return ukey;
    }

    public void setUkey(String ukey) {
        this.ukey = ukey;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getIsSystem() {
        return isSystem;
    }

    public void setIsSystem(Integer isSystem) {
        this.isSystem = isSystem;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }


    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }


}
